package com.lsq.tucao.express.service;

import com.lsq.tucao.express.bean.po.TucaoDiscuss;
import com.lsq.tucao.express.response.JsonResult;

public interface TucaoDiscussService {

    /**
     * @author lsq
     * @description 分页获取某条吐槽的评论数据
     * @param current 页码
     * @param size 每页条数
     * @param tucaoId 吐槽id
     * @return com.lsq.tucao.express.response.JsonResult
     * @create 2021/4/20 16:24
     */
    JsonResult getPageDiscussByTucaoId(Integer current,Integer size,Long tucaoId);

    /**
     * @author lsq
     * @description 发表吐槽评论
     * @param tucaoDiscuss 吐槽评论实体类
     * @return com.lsq.tucao.express.response.JsonResult
     * @create 2021/4/20 16:25
     */
    JsonResult addDiscuss(TucaoDiscuss tucaoDiscuss);

}
